package com.smartmedi.ai.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.smartmedi.ai.domain.dto.JhInMrRequsetPage;
import com.smartmedi.ai.domain.entity.JhInMr;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author XWQ
* @description 针对表【JH_IN_MR(住院电子病历记录（病历索引和大文本编码）)】的数据库操作Service
* @createDate 2025-07-17 13:08:31
*/
public interface JhInMrService extends IService<JhInMr> {

    /**
     * 获取查询条件
     * @param jhInMrRequsetPage
     * @return
     */
    QueryWrapper<JhInMr> getQueryWrapper(JhInMrRequsetPage jhInMrRequsetPage);

    /**
     * 新增病历记录
     * @param jhInMr 病历记录
     * @return 新增的病历记录ID
     */
    Long addJhInMr(JhInMr jhInMr);
}
